package com.iemes.mapper;

import java.util.List;

import com.iemes.entity.*;
import com.iemes.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface UserMapper extends BaseMapper{
	List<UserFormMap> findUser(@Param("name") String name);

	List<UserFormMap> findUserPage(UserFormMap userFormMap);

	List<ClientinfoMap> findUserList();

	List<UserManagementMap> findUserManagement();

	List<ProductFormMap> findProductPage();

	List<MaterialFormMap> findMaterialPage();

	List<ChildFormMap> findChildPage(@Param("id") int id);

	int updateChild(@Param("stockid") int stockid,@Param("matid") int matid,@Param("stmnum") int stmnum);

	int delChild(@Param("stockid") int stockid,@Param("matid") int matid);

	List<DeviceFormMap> findDevicePage();
}
